package com.ts.animal.service;

import com.ts.animal.domain.RfidLabelImportDO;
import com.ts.common.utils.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 耳标录入表
 *
 * @author bobby
 * @email bobby@126.com
 * @date 2023-01-04 17:15:52
 */
public interface RfidLabelImportService {

	RfidLabelImportDO get(Integer id);

	List<Map<String, Object>> list(Map<String, Object> map);

    Map<String, Object> importLabelSum(Map<String, Object> map);

    int count(Map<String, Object> map);

	int save(Result result,RfidLabelImportDO rfidLabelImport);

	int update(Result result,RfidLabelImportDO rfidLabelImport);

	int remove(Result result,Integer id);

	int batchRemove(Result result,Integer[] ids);

	Result batchImportLabel(MultipartFile file) throws IOException, Exception;
}
